﻿// License: https://opensource.org/licenses/MIT
// Create Date : 2018-01-01

namespace Cat.Core.XLog
{
    /// <summary>
    /// 日志开关接口
    /// </summary>
    public interface ILogSwitch
    {
        bool IsDebugEnabled { get; }
        bool IsInfoEnabled { get; }
        bool IsWarnEnabled { get; }
        bool IsErrorEnabled { get; }
        bool IsFatalEnabled { get; }
        void SetIsDebugEnabled(bool enable);
        void SetIsInfoEnabled(bool enable);
        void SetIsWarnEnabled(bool enable);
        void SetIsErrorEnabled(bool enable);
        void SetIsFatalEnabled(bool enable);
    }
}
